package com.sun.showcase.client.query.mall;

import com.sun.showcase.client.domain.mall.Shop;
import com.sun.showcase.pojo.SearchModel;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;

public class ShopQuery extends SearchModel<Shop> implements Serializable {
    
  private static final long serialVersionUID = 3148176768559230877L;
    

	  /**
     * id       db_column: id 
     */	
	private String id;
	  /**
     * 店铺名       db_column: name
     */
	private String name;
	  /**
     * 所属人id       db_column: user_id
     */
	private String userId;
	  /**
     * 所属人       db_column: user_name
     */
	private String userName;
	  /**
     * 银行卡号       db_column: bank_card
     */
	private String bankCard;
	  /**
     * 银行信息       db_column: bank_info
     */
	private String bankInfo;
	  /**
     * 有效标记(默认为1有效 0无效）       db_column: active_flag
     */
	private String activeFlag;
	  /**
     * 创建人ID       db_column: create_by
     */
	private String createBy;
	  /**
     * 创建人姓名       db_column: create_by_name
     */
	private String createByName;
	  /**
     * 创建时间       db_column: create_date
     */
	private java.util.Date createDate;
	  /**
     * 修改人ID       db_column: modified_by
     */
	private String modifiedBy;
	  /**
     * 修改人姓名       db_column: modified_by_name
     */
	private String modifiedByName;
	  /**
     * 修改时间       db_column: modified_date
     */
	private java.util.Date modifiedDate;
	/**
	 * 封装修改时的where条件  key为数据库字段值  value为条件值
	 * */
	private Map<String,Object> searchMap = new HashMap<String,Object>();
	/**
	 * 数据表主键id的数组
	 * */
	private String ids[];

	public String getId() {
		return this.id;
	}

	public void setId(String value) {
		this.id = value;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String value) {
		this.name = value;
	}

	public String getUserId() {
		return this.userId;
	}

	public void setUserId(String value) {
		this.userId = value;
	}

	public String getUserName() {
		return this.userName;
	}

	public void setUserName(String value) {
		this.userName = value;
	}

	public String getBankCard() {
		return this.bankCard;
	}

	public void setBankCard(String value) {
		this.bankCard = value;
	}

	public String getBankInfo() {
		return this.bankInfo;
	}

	public void setBankInfo(String value) {
		this.bankInfo = value;
	}

	public String getActiveFlag() {
		return this.activeFlag;
	}

	public void setActiveFlag(String value) {
		this.activeFlag = value;
	}

	public String getCreateBy() {
		return this.createBy;
	}

	public void setCreateBy(String value) {
		this.createBy = value;
	}

	public String getCreateByName() {
		return this.createByName;
	}

	public void setCreateByName(String value) {
		this.createByName = value;
	}

	public java.util.Date getCreateDate() {
		return this.createDate;
	}

	public void setCreateDate(java.util.Date value) {
		this.createDate = value;
	}

	public String getModifiedBy() {
		return this.modifiedBy;
	}

	public void setModifiedBy(String value) {
		this.modifiedBy = value;
	}

	public String getModifiedByName() {
		return this.modifiedByName;
	}

	public void setModifiedByName(String value) {
		this.modifiedByName = value;
	}

	public java.util.Date getModifiedDate() {
		return this.modifiedDate;
	}

	public void setModifiedDate(java.util.Date value) {
		this.modifiedDate = value;
	}

	public Map<String, Object> getSearchMap() {
		return searchMap;
	}

	public void setSearchMap(Map<String, Object> searchMap) {
		this.searchMap = searchMap;
	}

	public String[] getIds() {
		return ids;
	}

	public void setIds(String[] ids) {
		this.ids = ids;
	}

	public String toString() {
		return ToStringBuilder.reflectionToString(this, ToStringStyle.DEFAULT_STYLE);
	}
	
}

